import request from "../utils/request";

export function addDiZhi(data){
	return request({
		url:"/p/address/addAddr",
		method:"post",
		data
	})
}

export function delDiZhi(addrId){
	return request({
		url:"/p/address/deleteAddr/" + addrId,
		method:"DELETE"
	})
}

export function xiugaiDiZhi(data){
	return request({
		url:"/p/address/updateAddr",
		method:"put",
		data
	})
}